fix(results): slim canonical artifact contract - #1642
Merged
Conversation
Deploying agentv with
|
| Latest commit: |
de23c6e
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://d75314f3.agentv.pages.dev |
| Branch Preview URL: | https://results-artifact-contract-cl.agentv.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
AgentV result bundles now keep run-level setup and provenance out of per-case rows. New artifacts still expose the fields needed by Dashboard, compare, rerun/resume, export, and remote sync, but wrapper experiment config is stored once in
.internal/run-config.json,summary.jsonpoints to that sidecar,summary.jsonno longer repeats rootinstances, and.internal/index.jsonlno longer repeatsruntime_sourceon every row.The reader surface stays compatible with older noisy artifacts: results/report/serve paths still accept historical row-level
runtime_source, and summary rewrites preserve an existingrun_config_pathwhen recomputing aggregate files.Contract Decisions
runtime_sourcesummary.json; stop emitting in new rowsexperiment_config.internal/run-config.json; exposemetadata.run_config_pathinstancessummary.jsoncases[].samples,counts.total_instances, and.internal/index.jsonlartifact_pointersReference research used local source for Promptfoo, Vercel
agent-eval, and Margin-Lab/evals. Margin in particular keeps run config/bundle state separate from compact results and per-instance sidecars, which matches this cleanup.Validation
bun --filter @agentv/core buildbun --filter @agentv/sdk buildbun --filter agentv build(Dashboard dist absent warning only)bun run typecheckbun run lintbun test apps/cli/test/commands/eval/artifact-writer.test.tsbun test apps/cli/test/eval.integration.test.tsbun test apps/cli/test/commands/results/report.test.tsbun test apps/cli/test/commands/results/serve.test.tsbun test apps/cli/test/commands/compare/compare.test.tsbun test apps/cli/test/commands/runs/rerun.test.tsbun test apps/cli/test/commands/results/summary.test.ts apps/cli/test/commands/results/export.test.ts apps/cli/test/commands/results/validate.test.tsLive dogfood used the local OpenAI-compatible proxy with
gpt-5.3-codex-sparkand the README quickstartllm-rubricgrader. Result:PASS, 1/1. The generated bundle and localagentv/results/v1projection both showsummary.metadata.run_config_path, no rootinstances, row-levelruntime_sourceomitted, and.internal/run-config.jsonpresent.Evidence
Private evidence branch:
EntityProcess/agentv-private:evidence/av-eofo-artifact-contract-2026-07-04at commit3529ebf.Key files:
evidence/av-eofo/artifact-diff/artifact-contract-focused.diffevidence/av-eofo/artifact-diff/artifact-contract.diffevidence/av-eofo/dogfood/av-eofo-live-dogfood/Post-Deploy Monitoring & Validation
No additional production monitoring required; this changes local/CI artifact generation and readers, not a deployed service. After merge, validate the next CI or dogfood eval by checking:
summary.jsonincludesmetadata.run_config_pathwhen experiment metadata exists;.internal/run-config.jsonexists;.internal/index.jsonlrows do not includeruntime_source; Dashboard run list/detail still show runtime source labels.agentv results reportomits runtime-source labels for old runs,agentv comparerejects new rows, orruns reruncannot locate test bundles.Related
Related: av-eofo